package com.adams.access.db.dialect;

import java.sql.Types;

import org.hibernate.Hibernate;
import org.hibernate.dialect.MySQLDialect;

public class Text2StrMySQLDialect extends MySQLDialect
{
	public Text2StrMySQLDialect()
	{
		super();
		registerHibernateType(Types.DECIMAL, Hibernate.BIG_INTEGER.getName());
		registerHibernateType(-1, Hibernate.STRING.getName());
		registerHibernateType(Types.CHAR, Hibernate.STRING.getName());
		registerHibernateType(Types.BOOLEAN, Hibernate.BOOLEAN.getName());
	}
}
